package com.yilin.tms.core.entity.gps;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class VehicleGps implements Serializable {
	public enum TruckGpsType{
		yht(0,"易航通"),
		yly(1,"易流云"),
		bdu(2,"北斗"),
		hyb(3,"好运宝"),
		none(4,"无GPS");
		@EnumValue
		public Integer index;
		public String name;

		TruckGpsType(Integer index, String name) {
			this.index = index;
			this.name = name;
		}
	}
	private static final long serialVersionUID = 7152485927290126766L;

	//------ 通用运单额外赋值------//
	private TruckGpsType trackGPSType;//GPS类型
	private String groupName;//驾驶员姓名
	private String driverName;//驾驶员姓名
	private String driverAvatarImg;//驾驶员头像
	private String distance;//距离
	private String deliverDistance;//发货距离
	private String cardNo;//车牌号
	private String statusAcc;//账户状态
	private int confirmStatus;//运单状态
	private int currentIndex;//当前正在前往拼车中的第几个运单（收货点）--拼车
	private String tip;//物流提示
	private boolean end;//是否结束定位
	private String nextPosition;//下一点位
	private String nextLngLat;//下一点位坐标

	//----------位置赋值------------//
	private float lng;//经度
	private float lat;//维度
	private float gdLng;//经度--高德
	private float gdLat;//维度--高德
	private float speed;//实时速度
	private String direction;//方向 和角度有转换方式
	private float bearing;//角度 和方向有转换方式
	private String position;//位置
	private long mTime;//定位时间
	private float bdLng;//经度--百度
	private float bdLat;//维度--百度

	//------------易航通-------------//
	private String deviceId;// 设备编号
	private String simId;// 手机卡号
	private int fuelTankCapacity;//油箱容量
	private float degree;//度
	private String carId;// 整形车辆编号
	private String carIdString;// 文本式车辆编号
	private float dayMileage;//日行驶里程
	private float mouthMileage;//月行驶里程
	private float sumOill;//剩余油量
	private float oill;//油耗1
	private float oill2;//油耗2
	private float oillPercent;//油耗百分比
	private float oillPercent2;//油耗百分比2
	private String state;//易航通状态
	private boolean err;//错误提示
	private String  transportNo;// 运输单号

	//------------易流云-------------//
	private String T1,T2,T3,T4;//温度
	private String H1,H2,H3,H4;//湿度
	private String ylyState; //易流云状态

	private  String urlHtml;
	private  String TruckType;//

	public String getTruckType() {
		return TruckType;
	}

	public void setTruckType(String truckType) {
		TruckType = truckType;
	}

	public String getUrlHtml() {
		return urlHtml;
	}

	public void setUrlHtml(String urlHtml) {
		this.urlHtml = urlHtml;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public String getTransportNo() {
		return transportNo;
	}

	public void setTransportNo(String transportNo) {
		this.transportNo = transportNo;
	}

	public boolean isErr() {
		return err;
	}

	public void setErr(boolean err) {
		this.err = err;
	}

	public String getNextLngLat() {
		return nextLngLat;
	}

	public void setNextLngLat(String nextLngLat) {
		this.nextLngLat = nextLngLat;
	}

	public String getNextPosition() {
		return nextPosition;
	}

	public void setNextPosition(String nextPosition) {
		this.nextPosition = nextPosition;
	}

	public boolean isEnd() {
		return end;
	}

	public void setEnd(boolean end) {
		this.end = end;
	}

	public TruckGpsType getTrackGPSType() {
		return trackGPSType;
	}

	public void setTrackGPSType(TruckGpsType trackGPSType) {
		this.trackGPSType = trackGPSType;
	}

	public String getTip() {
		return tip;
	}

	public void setTip(String tip) {
		this.tip = tip;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getSimId() {
		return simId;
	}

	public void setSimId(String simId) {
		this.simId = simId;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getCarId() {
		return carId;
	}

	public void setCarId(String carId) {
		this.carId = carId;
	}

	public String getCarIdString() {
		return carIdString;
	}

	public void setCarIdString(String carIdString) {
		this.carIdString = carIdString;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getDriverAvatarImg() {
		return driverAvatarImg;
	}

	public void setDriverAvatarImg(String driverAvatarImg) {
		this.driverAvatarImg = driverAvatarImg;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getDeliverDistance() {
		return deliverDistance;
	}

	public void setDeliverDistance(String deliverDistance) {
		this.deliverDistance = deliverDistance;
	}

	public int getFuelTankCapacity() {
		return fuelTankCapacity;
	}

	public void setFuelTankCapacity(int fuelTankCapacity) {
		this.fuelTankCapacity = fuelTankCapacity;
	}

	public float getSpeed() {
		return speed;
	}

	public void setSpeed(float speed) {
		this.speed = speed;
	}

	public float getDegree() {
		return degree;
	}

	public void setDegree(float degree) {
		this.degree = degree;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public float getLng() {
		return lng;
	}

	public void setLng(float lng) {
		this.lng = lng;
	}

	public float getLat() {
		return lat;
	}

	public void setLat(float lat) {
		this.lat = lat;
	}

	public float getGdLng() {
		return gdLng;
	}

	public void setGdLng(float gdLng) {
		this.gdLng = gdLng;
	}

	public float getGdLat() {
		return gdLat;
	}

	public void setGdLat(float gdLat) {
		this.gdLat = gdLat;
	}

	public float getBdLng() {
		return bdLng;
	}

	public void setBdLng(float bdLng) {
		this.bdLng = bdLng;
	}

	public float getBdLat() {
		return bdLat;
	}

	public void setBdLat(float bdLat) {
		this.bdLat = bdLat;
	}

	public float getDayMileage() {
		return dayMileage;
	}

	public void setDayMileage(float dayMileage) {
		this.dayMileage = dayMileage;
	}

	public float getMouthMileage() {
		return mouthMileage;
	}

	public void setMouthMileage(float mouthMileage) {
		this.mouthMileage = mouthMileage;
	}

	public float getSumOill() {
		return sumOill;
	}

	public void setSumOill(float sumOill) {
		this.sumOill = sumOill;
	}

	public float getOill() {
		return oill;
	}

	public void setOill(float oill) {
		this.oill = oill;
	}

	public float getOill2() {
		return oill2;
	}

	public void setOill2(float oill2) {
		this.oill2 = oill2;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public float getBearing() {
		return bearing;
	}

	public void setBearing(float bearing) {
		this.bearing = bearing;
	}

	public String getStatusAcc() {
		return statusAcc;
	}

	public void setStatusAcc(String statusAcc) {
		this.statusAcc = statusAcc;
	}

	public float getOillPercent() {
		return oillPercent;
	}

	public void setOillPercent(float oillPercent) {
		this.oillPercent = oillPercent;
	}

	public float getOillPercent2() {
		return oillPercent2;
	}

	public void setOillPercent2(float oillPercent2) {
		this.oillPercent2 = oillPercent2;
	}

	public long getmTime() {
		return mTime;
	}

	public void setmTime(long mTime) {
		this.mTime = mTime;
	}

	public int getConfirmStatus() {
		return confirmStatus;
	}

	public void setConfirmStatus(int confirmStatus) {
		this.confirmStatus = confirmStatus;
	}

	public int getCurrentIndex() {
		return currentIndex;
	}

	public void setCurrentIndex(int currentIndex) {
		this.currentIndex = currentIndex;
	}

	public String getT1() {
		return T1;
	}

	public void setT1(String t1) {
		T1 = t1;
	}

	public String getT2() {
		return T2;
	}

	public void setT2(String t2) {
		T2 = t2;
	}

	public String getT3() {
		return T3;
	}

	public void setT3(String t3) {
		T3 = t3;
	}

	public String getT4() {
		return T4;
	}

	public void setT4(String t4) {
		T4 = t4;
	}

	public String getH1() {
		return H1;
	}

	public void setH1(String h1) {
		H1 = h1;
	}

	public String getH2() {
		return H2;
	}

	public void setH2(String h2) {
		H2 = h2;
	}

	public String getH3() {
		return H3;
	}

	public void setH3(String h3) {
		H3 = h3;
	}

	public String getH4() {
		return H4;
	}

	public void setH4(String h4) {
		H4 = h4;
	}

	public String getYlyState() {
		return ylyState;
	}

	public void setYlyState(String ylyState) {
		this.ylyState = ylyState;
	}
}
